package com.oilsection.demo.service;

import com.oilsection.demo.controller.res.JcEventStatisticsDataDto;
import com.oilsection.demo.po.JcEventInfoTable;
import com.oilsection.demo.po.JcdInfoTable;
import com.oilsection.demo.po.JzInfoTable;
import com.oilsection.demo.po.KqInfoTable;
import com.oilsection.demo.entity.*;
import com.oilsection.demo.mutipleImportDo.JcEventMiDo;
import com.oilsection.demo.mutipleImportDo.JcdMiDo;
import com.oilsection.demo.mutipleImportDo.JzMiDo;

import java.util.Date;
import java.util.List;

/**
 * @Author yangyuge
 * @description
 * @Date 2024/5/3 16:10
 */
public interface DataManagerService {
    dmJceventInfo getDMkqJcdEventInfo(String jcEventId, String kqName, String jzId, String jzName, String jcType, String jcdId, String jcdName, Date jcTime, String updateTime, String szjType, int page, int pageSize);
    dmJcdInfo getDMkqJcdInfo(String kqName, String jzId, String jzName, String jcdId, String updateTime, String jcdName, int page, int pageSize);
    dmJzInfo getDMKqJzInfo(String kqName, String jzId, String jzState, String jzName, int page, int pageSize);
    dmKqInfo getDMkqkqInfo(String kqId, String kqName, String kqState, String kqArea, String startTime, int page, int pageSize);
    KqInfoTable addOneKqInfo(String kqName, String kqId, String kqState, String kqArea, String startTime);
    JcdInfoTable addOneJcdInfo(String kqId, String jzId, String jcdId, String jcdXpoint, String jcdYpoint, String updateTime,String jcdName);
    JzInfoTable addOneJzInfo(String kqId, String jzId, String jzName, String jzState, String jzArea, String updateTime, String jcdNum, String jkXpoint, String jkYpoint, String szj1, String szj2, String szj3);
    JcEventInfoTable addOneJcEventInfo(String kqId, String jzId, String jcEventId, String jcValue, String jcXpoint, String jcYpoint, String jcType, String updateTime, String jcdId, String szjType);
    KqInfoTable updateOneKqInfo(String kqId, String kqArea);
    JzInfoTable updateOneJzInfo(String jzId, String jzArea, String jkXpoint, String jkYpoint, String szj1, String szj2, String szj3);
    JcdInfoTable updateOneJcdInfo(String jcdId, String jcXpoint, String jcYpoint);
    JcEventInfoTable updateOneJcEventInfo(String jcEventId, String jcTime, String szjType, String jcValue);
    Boolean mutipleImportKqInfo(List<addKqInfo> kqList);
    int deleteOneKqInfo(String kqId);
    int deleteOneJzInfo(String jzId);
    int deleteOneJcdInfo(String jcdId);
    int deleteOneJcEventInfo(String jcEventId);

    Boolean mutipleImportJcEventInfo(List<JcEventMiDo> jcEventList);

    Boolean mutipleImportJcdInfo(List<JcdMiDo> jcdList);

    Boolean mutipleImportJzInfo(List<JzMiDo> jzList);

    List<JcEventStatisticsDataDto> getDMkqJcdStatisticsDataByJcdId(String jcdId);
}
